home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / PhaseShiftX / Source / SillyBalls / balls.h next >
Encoding:
Text File  |  2001-06-23  |  477 b   |  21 lines

  1. #import <AppKit/AppKit.h>
  2.  
  3.  
  4.  
  5. @interface balls : NSView {
  6.     NSWindow        *mWindow;
  7.     NSTimer            *mTimer;
  8.     NSTimeInterval    mInterval;
  9.     BOOL            mRunning;
  10. }
  11.  
  12. - (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
  13. - (void)awakeFromNib;
  14.  
  15. - (void)drawRect:(NSRect)rect;
  16. - (void)drawRandomBallInside:(const NSRect *)rect;
  17. - (void)drawAnother:(id)timer;
  18. - (void)setTimerRunning:(BOOL)run source:(id)source;
  19. - (void)setTimerInterval:(float)interval source:(id)source;
  20. @end
  21.